/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


import DataStructures.*;

public class Wrapper1 implements WordSet {
    
    private RedBlackTree base;
	
	public Wrapper1()
	{
		base = new RedBlackTree(new Word());
	}
	
	public Word get(Word word)
	{
		return (Word) base.find(word);
	}
	
	public void add(Word wordObject)
	{
		base.insert(wordObject);
	}
    
}
